package com.pet.order.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="订单商品详情视图对象")
public class OrderItemDetailVO {

    @ApiModelProperty(value = "订单详情id, 唯一标识")
    private Integer id;

    @ApiModelProperty(value = "订单id, 关联订单表")
    private Long orderId;

    @ApiModelProperty(value = "商品id, 关联商品表")
    private Integer itemId;

    @ApiModelProperty(value = "购买数量")
    private Integer number;

    @ApiModelProperty(value = "商品标题")
    private String title;

    @ApiModelProperty(value = "商品规格")
    private String spec;

    @ApiModelProperty(value = "下单时价格(分)")
    private Integer price;

    @ApiModelProperty(value = "下单时商品图片")
    private String image;
}
